# -*- ecoding: utf-8 -*-
# @Author: Wick
# @Time: 2024-02-23 2:23
print(5^7)

#任何数和自身异或都等于0
print(5^5)
#任何数和0异或都等于自身
print(5^0)
print("-"*50)
mylist = [5, 3, 6, 5, 3]
result = 0
for i in mylist:
    result = result^i

print(result)